package com.qqt.csr.workbench.convert;

import com.qqt.csr.workbench.entity.SkillSetConfig;
import com.qqt.csr.workbench.vo.req.SettingSkillSetConfigReqVO;
import com.qqt.csr.workbench.vo.resp.SkillSetConfigInfoRespVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface SkillSetConfigAssembler {
    SkillSetConfigAssembler INSTANCE = Mappers.getMapper(SkillSetConfigAssembler.class);

    /**
     * SkillSetConfig -> SkillSetConfigInfoVo
     *
     * @param skillSetConfig
     * @return
     */
    SkillSetConfigInfoRespVO toSkillSetConfigInfoVo(SkillSetConfig skillSetConfig);

    /**
     * SettingSkillSetConfigVo -> SkillSetConfig
     *
     * @param vo
     * @return
     */
    SkillSetConfig toSkillSetConfig(SettingSkillSetConfigReqVO vo);
}
